Global Index
HTML5 JS API Index > Browser Tutorials & Specs

Location

Implements URLUtils.

Each Document object in a browsing context's session history is associated with a unique instance of a Location object.

Operations
void
assign(DOMString url)
When the assign(url) method is invoked, the UA must resolve the argument, relative to the API base URL specified by the entry settings object, and if that is successful, must navigate the browsing context to the specified url, with exceptions enabled.
voidreload()
void
replace(DOMString url)
When the replace(url) method is invoked, the UA must resolve the argument, relative to the API base URL specified by the entry settings object, and if that is successful, navigate the browsing context to the specified url with replacement enabled and exceptions enabled.
Referenced by
Documentlocation
Windowlocation